#pragma once
#include "framedialog.h"
#include "GeoStatPlotView.h"

class CPGLFrameDialog :
	public CFrameDialog
{
	//friend class CEditFrameView;
	DECLARE_DYNCREATE(CPGLFrameDialog)
public:
	CPGLFrameDialog();

public:
	CPGLFrameDialog(UINT nIDResource, CWnd* pParentWnd = NULL);
	virtual ~CPGLFrameDialog();

	// Attributes
public:

	// Operations
public:

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPGLFrameDialog)
	virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL);
protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

	// Implementation
protected:
	virtual BOOL CreateRibbonBar ();

	virtual void CreateDocumentColors ();

	virtual void AddTabs ();
	virtual void AddQAT ();

	virtual void SetKeys ();

	void AddTab_Format ();

	

	// Generated message map functions
	//{{AFX_MSG(CPGLFrameDialog)
	
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	void ShowPGLView();
	CPGLView* GetPlotView(){ return m_pPGLView;};

protected:
	CBCGPRibbonMainButton	m_MainButton;	// Ribbon main button
	CPGLView* m_pPGLView;



	// Document colors:
	CList<COLORREF,COLORREF> m_lstMainColors;
	CList<COLORREF,COLORREF> m_lstAdditionalColors;
	CList<COLORREF,COLORREF> m_lstStandardColors;
};
